﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using System.Data;

public partial class GiamGiaDen : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        int a = Int32.Parse(Request.QueryString["giamgia"]);
        PhieuGiamGiaBLL tmp = new PhieuGiamGiaBLL();
        DataTable b1 = tmp.LayPGiamGia(a);
        Pgiamgia.DataSource = b1;
        Pgiamgia.DataBind();
        DiaDiemGiamGiaBLL tmp2 = new DiaDiemGiamGiaBLL();
        DataTable b2 = tmp2.LayDDGiamGia(a);
        DDgiamgia.DataSource = b2;
        DDgiamgia.DataBind();
        SanPhamGiamGiaBLL tmp3 = new SanPhamGiamGiaBLL();
        DataTable b3 = tmp3.LaySPGiamGia(a);
        Spgiamgia.DataSource = b3;
        Spgiamgia.DataBind();

    }
}